package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmy.cultivate.entity.AuditClaim;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 报销申请 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2025-01-01
 */
public interface IAuditClaimService extends IService<AuditClaim> {

    /**
     * 报销申请数量
     */
    public abstract AuditClaim getAuditClaimCount(String adminId);

    /**
     * 报销申请列表
     */
    public abstract List<AuditClaim> getAuditClaimList(IPage<AuditClaim> page, String schoolId, String name, String startDate, String endDate, String type, String status, String adminId);

    /**
     * 报销申请详情
     */
    public abstract AuditClaim getAuditClaimDetail(String id);

    AuditClaim getClaimOneByIdDesc(@Param("id") Long id);
}
